package constants

func ValidateMaterialType(materialType int) bool {
	if materialType == MATERIAL_TYPE_AVATAR || materialType == MATERIAL_TYPE_PIC || materialType == MATERIAL_TYPE_MATERIAL {
		return true
	}
	return false
}

func ValidateMaterialContentType(contentType int) bool {
	if contentType == MATERIAL_CONTENT_TYPE_TEXT || contentType == MATERIAL_CONTENT_TYPE_PIC || contentType == MATERIAL_CONTENT_TYPE_AUDIO || contentType == MATERIAL_CONTENT_TYPE_VIDEO {
		return true
	}
	return false
}

func ValidateEvaluate(eType int) bool {
	if eType == EVALUATE_GOOD || eType == EVALUATE_BAD || eType == EVALUATE_PERFECT {
		return true
	}
	return false
}
